#ifndef MUTEX_HPP_
#define MUTEX_HPP_

#include <Bust/Utilities.hpp>

namespace bust {

class Mutex : public bust::noncopyable {
	private:
		void* _data;
		friend class Condition;
	public:
		Mutex();
		~Mutex();
		virtual bool lock();
		virtual bool trylock();
		virtual bool unlock();
};

}

#endif /* MUTEX_HPP_ */
